|
2000W / 48V LLC Battery-Charger
V1.00
|
#include "xmc_flash.h"
Go to the source code of this file.
Typedefs | |
| typedef enum FLASH_ACTION | FLASH_ACTION_t |
Enumerations | |
| enum | FLASH_ACTION { FLASH_ACTION_IDLE = (uint32_t)0x00, FLASH_ACTION_ONESHOT_WRITE_VERIFY = ((uint32_t)0x51 << NVM_NVMPROG_ACTION_Pos), FLASH_ACTION_ONESHOT_WRITE = ((uint32_t)0x91 << NVM_NVMPROG_ACTION_Pos), FLASH_ACTION_CONTINUOUS_WRITE_VERIFY = ((uint32_t)0x61 << NVM_NVMPROG_ACTION_Pos), FLASH_ACTION_CONTINUOUS_WRITE = ((uint32_t)0xa1 << NVM_NVMPROG_ACTION_Pos), FLASH_ACTION_ONESHOT_PAGE_ERASE = ((uint32_t)0x92 << NVM_NVMPROG_ACTION_Pos), FLASH_ACTION_CONTINUOUS_PAGE_ERASE = ((uint32_t)0xa2 << NVM_NVMPROG_ACTION_Pos), FLASH_ACTION_ONESHOT_VERIFY_ONLY = ((uint32_t)0xd0 << NVM_NVMPROG_ACTION_Pos), FLASH_ACTION_CONTINUOUS_VERIFY_ONLY = ((uint32_t)0xe0 << NVM_NVMPROG_ACTION_Pos) } |
Functions | |
| void | XMC_FLASH_ClearStatus (void) |
| uint32_t | XMC_FLASH_GetStatus (void) |
| void | XMC_FLASH_EnableEvent (const uint32_t event_msk) |
| void | XMC_FLASH_DisableEvent (const uint32_t event_msk) |
| void | XMC_FLASH_ErasePage (uint32_t *address) |
| void | XMC_FLASH_ProgramVerifyPage (uint32_t *address, const uint32_t *data) |
| void | XMC_FLASH_WriteBlocks (uint32_t *address, const uint32_t *data, uint32_t num_blocks, bool verify) |
| void | XMC_FLASH_ErasePages (uint32_t *address, uint32_t num_pages) |
| void | XMC_FLASH_VerifyBlocks (uint32_t *address, const uint32_t *data, uint32_t num_blocks) |
| void | XMC_FLASH_ReadBlocks (uint32_t *address, uint32_t *data, uint32_t num_blocks) |
| void | XMC_FLASH_EraseSector (uint32_t *address) |
| void | XMC_FLASH_ProgramPage (uint32_t *address, const uint32_t *data) |
Definition in file xmc1_flash.c.
| typedef enum FLASH_ACTION FLASH_ACTION_t |
| enum FLASH_ACTION |
Definition at line 64 of file xmc1_flash.c.
| void XMC_FLASH_ErasePage | ( | uint32_t * | address | ) |
Definition at line 114 of file xmc1_flash.c.
| void XMC_FLASH_ErasePages | ( | uint32_t * | address, |
| uint32_t | num_pages | ||
| ) |
Definition at line 165 of file xmc1_flash.c.
Referenced by XMC_FLASH_EraseSector().


| void XMC_FLASH_ProgramVerifyPage | ( | uint32_t * | address, |
| const uint32_t * | data | ||
| ) |
Definition at line 119 of file xmc1_flash.c.
Referenced by XMC_FLASH_ProgramPage().

| void XMC_FLASH_ReadBlocks | ( | uint32_t * | address, |
| uint32_t * | data, | ||
| uint32_t | num_blocks | ||
| ) |
Definition at line 221 of file xmc1_flash.c.
| void XMC_FLASH_VerifyBlocks | ( | uint32_t * | address, |
| const uint32_t * | data, | ||
| uint32_t | num_blocks | ||
| ) |
| void XMC_FLASH_WriteBlocks | ( | uint32_t * | address, |
| const uint32_t * | data, | ||
| uint32_t | num_blocks, | ||
| bool | verify | ||
| ) |